package com.cneport.das.common.model.trans;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 * @Desc ERP回执查询的响应报文对象
 * @Ver 1.0
 * @Author GavinZhang
 * @Company 东方物通科技有限（北京）公司
 * @Date 2021-12-20 16:02:19
 */
@Data
@XmlRootElement(name = "ErpGetResponse")
@XmlAccessorType(XmlAccessType.FIELD)
public class ErpGetResponse {
    private RespHead respHead;
    private RespData respData;
    private AddInfos addInfos;

    @XmlType
    @Data
    @XmlAccessorType(XmlAccessType.FIELD)
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class RespHead {
        private String guid;
        private String respCode;
        private String respMsg;
        private String respTime;
    }

}
